package com.web.exiaodao.business.service;

import java.util.Map;

import org.springframework.data.domain.Page;
import org.springframework.data.domain.Pageable;

import com.web.exiaodao.business.entity.TravelTable;
import com.web.exiaodao.remote.vo.TravelTableVo;
import com.web.webstart.base.exception.BusinessException;
import com.web.webstart.base.service.BaseServiceInterFace;
import com.web.webstart.base.util.result.XaResult;

public interface TravelTableService extends BaseServiceInterFace<TravelTable>{
	/**
	 * 查询游学表
	 * @Title: findTravelTableList 
	 * @param pageable
	 * @param filterParams
	 * @return
	 * @throws BusinessException
	 */
	public XaResult<Page<TravelTableVo>> findTravelTableList(
			Pageable pageable, Map<String, Object> filterParams) throws BusinessException;
	//根据ID查询旅游
	public XaResult<TravelTableVo> findTravelTableById(Long modelId) throws BusinessException;
	public XaResult<TravelTable> saveOrUpdate(TravelTableVo model) throws BusinessException;
}
